﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SearchPageTest.aspx.cs" Inherits="WebApplication.SearchPageTest" %>
<%@ Import Namespace="Wuqi.Webdiyer" %>
<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <asp:GridView ID="GridView1" runat="server">
            <Columns>
                <asp:HyperLinkField DataNavigateUrlFormatString="Basicinformation.aspx?cuid={0}" 
                    DataTextField="CustomerUID" HeaderText="UID" 
                    DataNavigateUrlFields="CustomerUID" Target="_blank" />
            </Columns>
        </asp:GridView>
    <asp:Label ID="CountAll" runat="server" ></asp:Label>
    </div>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" id="pagePop" style=" text-align:center">
            <tbody>
                <tr>
                    <td>
                        <div style=" margin:10px auto; padding:5px 10px;">
                        <webdiyer:AspNetPager ID="PagerContrl" runat="server" PageIndexBoxType="DropDownList" ShowPageIndexBox="Always" SubmitButtonText="Go" 
                        TextAfterPageIndexBox="页" TextBeforePageIndexBox="转到" 
                        CurrentPageButtonPosition="End" 
                        CustomInfoHTML="共%PageCount%页，当前为第%CurrentPageIndex%页，每页%PageSize%条" 
                        FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" 
                        onpagechanged="PagerContrl_PageChanged" PrevPageText="上一页"></webdiyer:AspNetPager>                
                        </div>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</body>
</html>
